package com.imooc.settlement.service;

import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.Random;

/**
 * ProjectName settlement
 *
 * @author xieyucan
 * <br>CreateDate 2022/9/20 20:32
 */
@Service
public class SettlementService {

    Random random=new Random(25);
    public Integer settlement(Integer accountId, BigDecimal amount)
    {
        /**
         * 这里实际要实现真正的结算业务代码
         */
        return random.nextInt(10000000);
    }
}
